//
//  YMLabel.swift
//  NewVersionDemo
//
//  Created by zeng on 2018/3/19.
//  Copyright © 2018年 youmy. All rights reserved.
//

import UIKit

class YMLabel: UILabel {

    override func draw(_ rect: CGRect) {
        super.draw(rect)
        self.layer.cornerRadius = 3
//        self.layer.borderColor = self.textColor.cgColor
//        self.layer.borderWidth = 1
        self.clipsToBounds = true
    }

}
